<template>
    <div>
        <button @click='changeCount(100)'>按钮</button>
    </div>
</template>
<script>
// @ is an alias to /src

import {mapState,mapMutations} from '../store/myvuex'
export default {
    name: 'XXX',
    data() {
        return {
        
        }
    },
    methods: {
      ...mapMutations(['changeCount']),
    }
}
</script>
<style lang="less">

</style>